<?php
	//header('Content-Type: application/json; charset=utf8');
    require_once('class.mysql.php');
	
    $name = $_GET['name'];
    
    if(!(isset($name))){
        die("Provide correct values!");
    }
    
    $db = new Mysql($_GET['table']);
    echo $db->getLatest_slow($name);
?>
   